

package com.hazelcast.splitbrainprotection;

/**
 * {@link SplitBrainProtection} provides access to the current status of a split brain protection.
 */
public interface SplitBrainProtection {
    /**
     * Returns true if the minimum cluster size is satisfied, otherwise false.
     *
     * @return boolean whether the minimum cluster size property is satisfied
     */
    boolean hasMinimumSize();

}
